#!/bin/sh
#
#	$HeadURL$
#	$Revision$
#	$Date$
#

MIN=0
MAX=200

#	Let's say our sensors melt at 200 degrees Farenheight.

JOT=/usr/bin/jot
SHUF=/usr/bin/shuf

#	Mac OS X and FreeBSD
if [ -x $JOT ] ; then
	$JOT -r 1 $MIN $MAX

#	Ubuntu
elif [ -x $SHUF ] ; then
	$SHUF -i 1 $MIN-MAX -n 1

#	The ugly and time tested way...
else
	echo $(($RANDOM % $MAX+$MIN))
fi

# EOF
